﻿namespace AnyOffice.Model
{
    using System;

    public class AttachmentData
    {
        protected DateTime _addTime = DateTime.Now;
        protected int _attachId = -1;
        protected string _attachmentId = string.Empty;
        protected bool _deleteFlag;
        protected string _name = string.Empty;
        protected int _totalSize;
        protected int _type = 1;
        protected string _userId = string.Empty;

        public DateTime AddTime
        {
            get
            {
                return this._addTime;
            }
            set
            {
                this._addTime = value;
            }
        }

        public int AttachId
        {
            get
            {
                return this._attachId;
            }
            set
            {
                this._attachId = value;
            }
        }

        public string AttachmentId
        {
            get
            {
                return this._attachmentId;
            }
            set
            {
                this._attachmentId = value;
            }
        }

        public bool DeleteFlag
        {
            get
            {
                return this._deleteFlag;
            }
            set
            {
                this._deleteFlag = value;
            }
        }

        public string Name
        {
            get
            {
                return this._name;
            }
            set
            {
                this._name = value;
            }
        }

        public int TotalSize
        {
            get
            {
                return this._totalSize;
            }
            set
            {
                this._totalSize = value;
            }
        }

        public int Type
        {
            get
            {
                return this._type;
            }
            set
            {
                this._type = value;
            }
        }

        public string UserId
        {
            get
            {
                return this._userId;
            }
            set
            {
                this._userId = value;
            }
        }
    }
}

